package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysProcess;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 流程  数据层
 */
@Repository
public interface SysProcessMapper {

    SysProcess selectProcessById(Long id);

    List<SysProcess> selectProcessList(SysProcess sysProcess);

    List<SysProcess> selectAllProcesses(SysProcess sysProcess);

    int insertProcess(SysProcess sysProcess);

    int updateProcess(SysProcess sysProcess);

    int deleteProcessByIds(Long[] ids);
}
